package com.wc.fortnight_blue_bridge.Q231024.Q5891;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/10/24 20:10
 * @description 神奇数
 * https://www.lanqiao.cn/problems/5891/learning/?contest_id=145
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String left = sc.nextLine();
        String right = sc.nextLine();
        StringBuffer leftS = new StringBuffer(left);
        if (right.length() > leftS.length()) {
            leftS.insert(0, '0');
        }
        char[] leftCh = leftS.toString().toCharArray();
        int[] leftInt = new int[leftCh.length];
        int sum = 0;
        int len = leftCh.length - 1;
        for (int i = 0; i < len; i++) {
            leftInt[i] = (leftCh[i] - '0');
            sum += leftInt[i];
        }
        leftInt[len] = leftCh[len] - '0';
        int ans = 0;
    }
}
